﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="SanPham.aspx.cs" Inherits="SES.CMS.SanPham" Title="Untitled Page" %>

<%@ Register Src="~/Module/ucDanhMuc.ascx" TagName="ucDanhMuc" TagPrefix="uc1" %>
<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc3" %>
<%@ Register Src="~/Module/ucSuuTap.ascx" TagName="ucSuuTap" TagPrefix="uc4" %>
<%@ Register Src="~/Module/ucImageLeft.ascx" TagName="ucImageLeft" TagPrefix="uc5" %>
<%@ Register Src="~/Module/ucRightSlide.ascx" TagName="ucRightSlide" TagPrefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <%--<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>

    <link rel="stylesheet" type="text/css" href="/preview.css" />
    <link rel="stylesheet" type="text/css" href="/wt-rotator.css" />

    <script type="text/javascript" src="/js/jquery.wt-rotator.min.js"></script>

    <script type="text/javascript" src="/js/preview.js"></script>--%>

    <link href="/css/kmmaProduct1.css" type="text/css" rel="Stylesheet" />
    <style type="text/css">
        .imgSP
        {
            margin-bottom: 10px;
        }
        .flexslider
        {
            width: 700px;
            height: 135px;
        }
        .center-title
        {
            margin-bottom: 0px;
        }
        .flexslider .slides img {width: 100%; display: block; height:135px;}
        .flexslider ul.slides{height:135px;}
        .flexslider ul.slides li{height:135px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="NoiDung">
        <div class="left-menu1">
            <uc1:ucDanhMuc ID="ucDanhMuc" runat="server" />
            <uc4:ucSuuTap ID="ucSuuTap1" runat="server" />
            <uc5:ucImageLeft ID="ucImageLeft" runat="server"></uc5:ucImageLeft>
        </div>
        <div class="PriContent">
            <uc3:ucBreadcrumb ID="ucBreadcrumb" runat="server"></uc3:ucBreadcrumb>
            <div class="Slide" style="width: 700px; height: 135px; margin-bottom:30px;">
                <uc6:ucRightSlide runat="server" ID="slide"></uc6:ucRightSlide>
            </div>
            <%--<asp:Image runat="server" ID="imgSP" Visible="true" width="700px" height="135px" CssClass="imgSP"  />--%>
            <div style="">
                <span style="font-size: 14px; color: #C81C6A;">Lựa chọn loại sản phẩm:</span>
                <asp:DropDownList runat="server" ID="ddlPhanLoai" AutoPostBack="true" AppendDataBoundItems="true"
                    CssClass="ddl-input" OnSelectedIndexChanged="ddlPhanLoai_SelectedIndexChanged">
                    <asp:ListItem Text=".: Lựa chọn :." Value="0"></asp:ListItem>
                    <asp:ListItem Text="Phục vụ trang điểm" Value="1"></asp:ListItem>
                    <asp:ListItem Text="Chăm sóc da" Value="0"></asp:ListItem>
                </asp:DropDownList>
            </div>
            <asp:Repeater ID="rpt" runat="server">
                <ItemTemplate>
                    <div class="SanPham-ChiTiet">
                        <div class="AnhSP">
                            <div class="Anh-SP">
                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                    <img class="AnhSP-img" src="<%# "/Media/" + Eval("HinhAnh")%>" align="top" alt='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("eTenSanPham") %>' />
                                </a>
                            </div>
                            <div class="Anh-SP-bot">
                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Language, vChiTiet%>"></asp:Literal>
                                </a>
                            </div>
                        </div>
                        <div class="SanPham-TT">
                            <div class="SanPham-TT-Name">
                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                    <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("TenSanPham"):Eval("eTenSanPham")%>
                                </a>
                            </div>
                            <div class="SanPham-TT-Desc">
                                <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("Mota") : Eval("eMota")%>
                            </div>
                        </div>
                    </div>
                    <!--End .SanPham-ChiTiet-->
                </ItemTemplate>
            </asp:Repeater>
            <asp:Label ID="lbThongbao" runat="server" Visible="false"></asp:Label>
            <div style="width: 100%; float: left; margin-top: 10px;">
                <div style="float: left; margin-left: 20px;">
                    <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                        ImageUrl="~/images/prevpage.png" /></div>
                <div style="float: right; margin-right: 20px;">
                    <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                        ImageUrl="~/images/nextpage.png" /></div>
            </div>
        </div>
    </div>
</asp:Content>
